﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.Domain.Entities
{
    /// <summary>
    /// 屠宰企业实体
    /// </summary>
    public class SlaughterCompany : BaseEntity
    {
        /// <summary>
        /// 公司名称
        /// </summary>
        [MaxLength(200)]
        public string? CompanyName { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        [MaxLength(500)]
        public string? CompanyAddress { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? EstablishmentDate { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        [MaxLength(2000)]
        public string? CompanyDescription { get; set; }
    }
}
